namespace OasisCiq.Xal
{
    using System.Collections.Specialized;
    using CommonTypes;
    using External;
    using XS;

    /// <summary>
    /// Data associated with the name of the Premises. e.g.
    /// Full name of premises or part of the name. E.g.
    /// Westfield shopping center, reference data to support
    /// the premises location, street in the premises
    /// </summary>
    public class PremisesNameElement : CTString, IAbbreviationGroup, IExtendedAttributes
    {
        public PremisesNameElement(string value)
            : base(value)
        {
        }

        public virtual XSBoolean Abbreviation { get; set; }

        /// <summary>
        /// Describes the type / part of name this element contains.
        /// </summary>
        public virtual PremisesElementTypeList NameType { get; set; }

        public virtual NameValueCollection ExtendedAttributes { get; set; }
    }
}